import Vue from 'vue'
import router from "@/router/index.js";
import './assets/css/index.css'
import ElementUI from 'element-ui';                      // 引入element-ui
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import Axios from 'axios'

Vue.config.productionTip = false

Vue.use(ElementUI);
Axios.defaults.baseURL = '/api'
new Vue({
    render: h => h(App),
    //在vue项目中，用路由，必须挂在
    //router:路由的实例对象
    router
}).$mount('#app')
